projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4714b
)
Revert "do not delegate ULA prefixes"
author
Kevin Darbyshire-Bryant
<
[email protected]
>
Fri, 5 Dec 2025 20:50:29 +0000
(20:50 +0000)
committer
Kevin Darbyshire-Bryant
<
[email protected]
>
Fri, 5 Dec 2025 20:50:29 +0000
(20:50 +0000)
Accidental push to wrong branch - oops
This reverts commit
fd4714bb2dfec0fadf5b49f21487f37f4613dc0f
.
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index 8011a27232a7758e50502b0987a281221faa7fee..edd7823cc71cf6e0eb5ab5308f6f7fa3d4a5beee 100644
(file)
--- a/
src/dhcpv6-ia.c
+++ b/
src/dhcpv6-ia.c
@@
-674,12
+674,6
@@
static size_t build_ia(uint8_t *buf, size_t buflen, uint16_t status,
o_ia_p.addr.s6_addr32[1] |= htonl(a->assigned_subnet_id);
o_ia_p.addr.s6_addr32[2] = o_ia_p.addr.s6_addr32[3] = 0;
- /* Awful hack: Do NOT delegate local ULA prefixes.
- They confuse my Sky VOIP box. Should be able to do this
- on a per interface or even per client basis. */
- if (o_ia_p.addr.s6_addr[0] == 0xFD)
- continue;
-
if (!valid_prefix_length(a, addrs[i].prefix_len))
continue;